#ifndef BINARIA_GEN_FITNESS_CU
#define BINARIA_GEN_FITNESS_CU

__device__ float calcularFitnessBinariaGen(bool* poblacion, int posicion) {
	float fitness = 0;
	for(int i=0; i<cantGenesEnCromosomaDevice; i++){
	  fitness = fitness + poblacion[posicion + i];
	}
	return fitness;
}

#endif
